<div>
	<?=$system_message;?>
	<div class="panel">Block Section Settings</div>
	<?=form_open('room_section_subject/block_section_settings','class="custom"');?>
	<div class="row">
		<div class="large-8 columns">
			<label>Grade Level</label>
			<?if($levels):?>
				<?=form_dropdown('level',$levels,set_value('level'),'id="blocksectionselect" url="'.site_url('output/get_section_data').'"');?>
			<?else:?>
				<div class="alert alert-error">No levels found</div>
			<?endif;?>
		</div>
	</div>
	
	<div class="row">
		<div class="large-8 columns">
			<label>Block Name</label>
			<input type="text" name="block_name" value="<?=set_value('block_name');?>">
		</div>
	</div>
	
	<div class="row">
		<div class="large-8 columns">
			<label>Block Description (optional)</label>
			<textarea name="block_desc"><?=set_value('block_desc');?></textarea>
		</div>
	</div>
	
	<div class="row">
		<div class="large-8 columns">
			<input type="submit" name="create_block_section" value="Create Block Section" class="btn btn-primary">
		</div>
	</div>
	</form>
</div>